Total Complexity | 46 |
Dependencies | 8 |
Dependents | 7 |
Total lines | 356 |
Lines of code | 154 |
Logical lines of code | 83 |
Comment lines | 151 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
calculate_shipping_for_package() | 45 | 12 | 41 | |
get_all_shipping_methods() | 57 | 6 | 18 | |
load_shipping_methods() | 57 | 4 | 17 | |
register_shipping_method() | 62 | 4 | 12 | |
calculate_shipping() | 62 | 4 | 11 | |
get_shipping_classes() | 61 | 3 | 13 | |
__get() | 68 | 3 | 8 | |
__construct() | 72 | 2 | 6 | |
get_shipping_methods() | 72 | 2 | 6 | |
is_package_shippable() | 68 | 2 | 7 | |
get_shipping_method_class_names() | 71 | 1 | 6 | |
unregister_shipping_methods() | 81 | 1 | 3 | |
get_packages() | 82 | 1 | 3 | |
reset_shipping() | 81 | 1 | 3 |